package com.kriss.portal.service;

import com.kriss.portal.mybatis.entity.ContactInfo;
import com.kriss.portal.mybatis.mapper.ContactInfoMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
@Transactional
public class PortalService {
    @Autowired
    private  ContactInfoMapper contactInfoMapper;
    public int saveRegist(ContactInfo contactInfo){
       return  contactInfoMapper.insert(contactInfo);
    }


}
